import Vue from 'vue';
import Router from 'vue-router';
import Home from '@/components/Home';
import doughnutDiagram from '@/components/doughnutDiagram';
import ringChart from '@/components/ringChart';
import gapRingChart from '@/components/gapRingChart';

Vue.use(Router);

export default new Router({
	mode: 'history',
	routes: [
		{
			path: '/home',
			component: Home,
			alias: '/'
		},
		{
			path: '/doughnutDiagram',
			component: doughnutDiagram,
			alias: '/'
		},
		{
			path: '/ringChart',
			component: ringChart,
			alias: '/'
		},
		{
			path: '/gapRingChart',
			component: gapRingChart,
			alias: '/'
		}
	]
});
